<?php
//控制器基类
abstract class base{
	protected $app_url;
	
	public function __construct(){
		$this->app_url = 'http://apps.xiaonei.com/hohoapps/';
		//$this->templet = new view();
	}
	/*
	protected function __autoload($className){
		require_once(ROOT.'lib/'.$className.'.inc.'.EXT);
	}
	*/
	
	public function __set($name,$value){
		echo 'setting'.$name.'to'.$value;
		$this->$name = $value; 
	}
	
	public function __get($name){
		echo 'getting'.$name;
		return $this->$name;
	}
	
	abstract public function run();
}